<?php /* Smarty version 2.6.12, created on 2008-10-30 06:26:35
         compiled from customer/main/product_prices.tpl */ ?>
<?php func_load_lang($this, "customer/main/product_prices.tpl","lbl_quantity,lbl_item,lbl_items,lbl_price_per_item,txt_note"); ?><?php if (! $this->_tpl_vars['no_span']): ?><div id="wl_table"><?php endif;  if ($this->_tpl_vars['product_wholesale'] != ""): ?>
<br />
<table cellpadding="2" cellspacing="2">
<tr class="TableHead">
	<td align="right"><b><?php echo $this->_tpl_vars['lng']['lbl_quantity']; ?>
:&nbsp;</b></td>
<?php unset($this->_sections['wi']);
$this->_sections['wi']['name'] = 'wi';
$this->_sections['wi']['loop'] = is_array($_loop=$this->_tpl_vars['product_wholesale']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['wi']['show'] = true;
$this->_sections['wi']['max'] = $this->_sections['wi']['loop'];
$this->_sections['wi']['step'] = 1;
$this->_sections['wi']['start'] = $this->_sections['wi']['step'] > 0 ? 0 : $this->_sections['wi']['loop']-1;
if ($this->_sections['wi']['show']) {
    $this->_sections['wi']['total'] = $this->_sections['wi']['loop'];
    if ($this->_sections['wi']['total'] == 0)
        $this->_sections['wi']['show'] = false;
} else
    $this->_sections['wi']['total'] = 0;
if ($this->_sections['wi']['show']):

            for ($this->_sections['wi']['index'] = $this->_sections['wi']['start'], $this->_sections['wi']['iteration'] = 1;
                 $this->_sections['wi']['iteration'] <= $this->_sections['wi']['total'];
                 $this->_sections['wi']['index'] += $this->_sections['wi']['step'], $this->_sections['wi']['iteration']++):
$this->_sections['wi']['rownum'] = $this->_sections['wi']['iteration'];
$this->_sections['wi']['index_prev'] = $this->_sections['wi']['index'] - $this->_sections['wi']['step'];
$this->_sections['wi']['index_next'] = $this->_sections['wi']['index'] + $this->_sections['wi']['step'];
$this->_sections['wi']['first']      = ($this->_sections['wi']['iteration'] == 1);
$this->_sections['wi']['last']       = ($this->_sections['wi']['iteration'] == $this->_sections['wi']['total']);
?>
	<td>
<?php echo $this->_tpl_vars['product_wholesale'][$this->_sections['wi']['index']]['quantity'];  if ($this->_sections['wi']['last']): ?>+<?php elseif ($this->_tpl_vars['product_wholesale'][$this->_sections['wi']['index']]['quantity'] != $this->_tpl_vars['product_wholesale'][$this->_sections['wi']['index']]['next_quantity']): ?>-<?php echo $this->_tpl_vars['product_wholesale'][$this->_sections['wi']['index']]['next_quantity'];  endif; ?>&nbsp;<?php if ($this->_tpl_vars['product_wholesale'][$this->_sections['wi']['index']]['quantity'] == '1'):  echo $this->_tpl_vars['lng']['lbl_item'];  else:  echo $this->_tpl_vars['lng']['lbl_items'];  endif; ?>
&nbsp;
	</td>
<?php endfor; endif; ?>
</tr>
<?php if ($this->_tpl_vars['product']['taxes']):  ob_start();  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "customer/main/taxed_price.tpl", 'smarty_include_vars' => array('taxes' => $this->_tpl_vars['product']['taxes'],'display_info' => 'N')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  $this->_smarty_vars['capture']['taxdata'] = ob_get_contents(); ob_end_clean();  endif; ?>
<tr bgcolor="#EEEEEE">
<?php unset($this->_sections['wi']);
$this->_sections['wi']['name'] = 'wi';
$this->_sections['wi']['loop'] = is_array($_loop=$this->_tpl_vars['product_wholesale']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['wi']['show'] = true;
$this->_sections['wi']['max'] = $this->_sections['wi']['loop'];
$this->_sections['wi']['step'] = 1;
$this->_sections['wi']['start'] = $this->_sections['wi']['step'] > 0 ? 0 : $this->_sections['wi']['loop']-1;
if ($this->_sections['wi']['show']) {
    $this->_sections['wi']['total'] = $this->_sections['wi']['loop'];
    if ($this->_sections['wi']['total'] == 0)
        $this->_sections['wi']['show'] = false;
} else
    $this->_sections['wi']['total'] = 0;
if ($this->_sections['wi']['show']):

            for ($this->_sections['wi']['index'] = $this->_sections['wi']['start'], $this->_sections['wi']['iteration'] = 1;
                 $this->_sections['wi']['iteration'] <= $this->_sections['wi']['total'];
                 $this->_sections['wi']['index'] += $this->_sections['wi']['step'], $this->_sections['wi']['iteration']++):
$this->_sections['wi']['rownum'] = $this->_sections['wi']['iteration'];
$this->_sections['wi']['index_prev'] = $this->_sections['wi']['index'] - $this->_sections['wi']['step'];
$this->_sections['wi']['index_next'] = $this->_sections['wi']['index'] + $this->_sections['wi']['step'];
$this->_sections['wi']['first']      = ($this->_sections['wi']['iteration'] == 1);
$this->_sections['wi']['last']       = ($this->_sections['wi']['iteration'] == $this->_sections['wi']['total']);
 if ($this->_sections['wi']['first']): ?><td align="right"><b><?php echo $this->_tpl_vars['lng']['lbl_price_per_item'];  if ($this->_smarty_vars['capture']['taxdata']): ?>*<?php endif; ?>:&nbsp;</b></td><?php endif; ?>
<td><?php if (! $this->_tpl_vars['no_span']): ?><span id="wp<?php echo $this->_sections['wi']['index']; ?>
"><?php endif;  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "currency.tpl", 'smarty_include_vars' => array('value' => $this->_tpl_vars['product_wholesale'][$this->_sections['wi']['index']]['taxed_price'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  if (! $this->_tpl_vars['no_span']): ?></span><?php endif; ?></td>
<?php endfor; endif; ?>
</tr>
</table>
<?php if ($this->_smarty_vars['capture']['taxdata']): ?>
<br />
<table border="0">
<tr>
<td class="FormButton" valign="top"><b>*<?php echo $this->_tpl_vars['lng']['txt_note']; ?>
:</b>&nbsp;</td>
<td nowrap="nowrap" valign="top"><?php echo $this->_smarty_vars['capture']['taxdata']; ?>
</td>
</tr>
</table>
<?php endif; ?>
<br />
<?php endif;  if (! $this->_tpl_vars['no_span']): ?></div><?php endif; ?>